import { reactive } from 'vue';

const state = reactive<{
  /**
   * 当前页
   */
  activePage: number;
  /**
   * 加载状态
   */
  loading: boolean;
  /**
   * 加载完成状态
   */
  finished: boolean;
  /**
   * 列表
   */
  list: Knowledge.Dto[];
}>({
  activePage: 1,
  loading: false,
  finished: false,
  list: [],
});

export { state };
